<template>
  <div>
    <img alt="Vue logo" src="@/assets/logo.png" />
    <HelloWorld msg="Hello Vue 3 + TypeScript + Vite" />
  </div>
</template>

<script lang="ts">
import HelloWorld from "@/components/HelloWorld.vue";
import { http } from "@/utils"
import { defineComponent } from 'vue'
export default defineComponent({
  components:{HelloWorld},
  async mounted(){
    let res = await http.post("/user/list",{})
    console.log(res)
    this.$toast("test")
  }
})
</script>

<style lang="scss" scoped>
</style>
